package bupt.xixi.registry;

import java.net.InetSocketAddress;

public interface IServiceDiscovery {

    /**
     * 服务发现
     * @param serviceName 服务名
     * @return 返回地址
     */
    InetSocketAddress lookupService(String serviceName);

}
